import { get, post } from "../utils/request";
// 用户注册接口
export const reqRegisterAPI = (data) => post("/api/v1/auth/reg", data);

// 用户登录
export const reqLoginAPI = (data) => post("/api/v1/auth/login", data);

//获取用户信息
export const reqUserInfoAPI = (data) => get("/api/v1/users/info", data);
